<script>
import Baseoption from "../components/base.vue";
export default {
  props: ["node"],
  components: { Baseoption },
  data() {
    return {};
  },

  mounted() {},
  render(h) {
    return (
      <div>
        <Baseoption node={this.node}></Baseoption>
        <el-form-item label="类型">
          <el-select
            style="width:100%"
            value={this.node.date_type}
            size="small"
            placeholder="请选择"
            onChange={(e) => {
              this.node.date_type = e;
            }}
          >
            <el-option label="日" value="date"></el-option>
            <el-option label="年" value="year"></el-option>
            <el-option label="月" value="month"></el-option>
            <el-option label="周" value="week"></el-option>
            <el-option label="日期时间" value="datetime"></el-option>
          </el-select>
        </el-form-item>
      </div>
    );
  },
};
</script>

<style scoped>
</style>